    // 获取普通登录
    var sp1 = document.getElementsByClassName('main-2-sp1')[0];
    // 获取验证码登录
    var sp2 = document.getElementsByClassName('main-2-sp2')[0];
    var send = document.querySelector('.send');
    var fast = document.querySelector('.fast');
    var common = document.querySelector('.common');
    var loginpro = document.querySelector('.loginpro');
    var forget = document.querySelector('.forget');
    var register = document.querySelector('.register');
    sp1.ontouchstart = function(){
        this.style.borderBottom = '0.04rem solid #FF8A00';
        sp2.style.borderBottom = ' 0.04rem solid #999';
        this.style.fontWeight = 'bold';
        sp2.style.fontWeight = 'initial';

        common.style.display = 'block';
        send.style.display = 'none';
        fast.style.display = 'none';
        loginpro.style.display = 'none';
        
    }
    sp2.ontouchstart = function(){
        this.style.borderBottom = '0.04rem solid #FF8A00';
        sp1.style.borderBottom = ' 0.04rem solid #999';
        this.style.fontWeight = 'bold';
        sp1.style.fontWeight = 'initial';
        
        fast.style.display = 'block';
        send.style.display = 'block';
        // common.style.display = 'none';
        loginpro.style.display = 'block';
        
    }
    forget.ontouchstart = function(){
        window.open("../html/forget.html");
        // window.location.href = '';
    }   
    register.ontouchstart = function(){
        window.open('../html/register.html');
    }


    